#ifndef __OLED_DEVICE_H__
#define __OLED_DEVICE_H__

#include "main.h"

typedef struct DisplayDevice {
	char *name;
	int (*Init)(struct DisplayDevice *displayDev); 
    int (*Clear)(struct DisplayDevice *displayDev); 
    int (*Display)(struct DisplayDevice *displayDev, uint8_t page, uint8_t col, char *str); 
}displayDevice, *pDisplayDevice;

pDisplayDevice GetOLEDDevice(char *name);

#endif
